package com.crm.dao.mapper.courseregist;

import com.crm.model.entity.courseregist.CourseConsumeRecord;
import com.crm.model.entity.courseregist.CourseConsumeRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CourseConsumeRecordMapper {
    long countByExample(CourseConsumeRecordExample example);

    int deleteByExample(CourseConsumeRecordExample example);

    int deleteByPrimaryKey(String consumeRecordId);

    int insert(CourseConsumeRecord record);

    int insertSelective(CourseConsumeRecord record);

    List<CourseConsumeRecord> selectByExample(CourseConsumeRecordExample example);

    CourseConsumeRecord selectByPrimaryKey(String consumeRecordId);

    int updateByExampleSelective(@Param("record") CourseConsumeRecord record, @Param("example") CourseConsumeRecordExample example);

    int updateByExample(@Param("record") CourseConsumeRecord record, @Param("example") CourseConsumeRecordExample example);

    int updateByPrimaryKeySelective(CourseConsumeRecord record);

    int updateByPrimaryKey(CourseConsumeRecord record);
}